﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IDAL;
using DALFactory;

namespace BLL
{
    public class PatientBLL
    {
        private static readonly IPatient ipatient = DataAccess.getIPatient();

        public static DataTable getMessList(int patientID)
        {
            DataTable messList = new DataTable();
            messList = ipatient.getPatientRecordDT(patientID);
            if (messList != null)
                return messList;
            else
                return null;
        }
    }
}
